//------------------------------------------------------------------------------------
#ifndef __CMOVESPRITE_H__
#define __CMOVESPRITE_H__
//------------------------------------------------------------------------------------
#include "CSprite.h"
//------------------------------------------------------------------------------------
class CMoveSprite : public CSprite {
    public:
        virtual ~CMoveSprite(void) {}
        
        void next(void);
        void setIncX(int incX) { this->incX = incX; incY = 0; }
        void setIncY(int incY) { this->incY = incY; incX = 0; }
        void setInc(int incX, int incY) { this->incX = incX; this->incY = incY; }
        int getIncX(void) { return incX; }
        int getIncY(void) { return incY; }
    private:
        int incX;
        int incY;
};
//------------------------------------------------------------------------------------
#endif //__CMOVESPRITE_H__
//------------------------------------------------------------------------------------
